How can I modify the following details so it can be used with Netmaker Caddy install? I’m just looking to restrict access to the dashboard.
1. traefik.http.middlewares.nmui-security-1.ipwhitelist.sourcerange=MY_IP
2. traefik.http.routers.netmaker-ui.middlewares=nmui-security@docker
and change it to this:
traefik.http.routers.netmaker-ui.middlewares=nmui-security-1@docker,nmui-security@docker
Question 2: If I also wanted to integrate OAuth provider login, where do I put the below info?
AUTH_PROVIDER: xxxxxxx.apps.googleusercontent.com
CLIENT_ID: “xxxxxxxxxxx.apps.googleusercontent.com”
CLIENT_SECRET: xxxxSecretcharacters
SERVER_HTTP_HOST: api.netmaker.MY-DOMAIN
FRONTEND_URL:
https://dashboard.netmaker.MY-DOMAIN